#!/usr/bin/env python
#coding: utf-8
'''
Created on 2017年4月17日

@author: Administrator
'''

from django.contrib import admin

from like.models import Like

class LikeAdmin(admin.ModelAdmin):
    
    list_display = ('id', 'user', 'content_type', 'object_id', 'create_time')
    raw_id_fields = ('user',)
    list_per_page = 20
    
admin.site.register(Like, LikeAdmin)
